\hypertarget{class_graph}{
\section{Graph Class Reference}
\label{class_graph}\index{Graph@{Graph}}
}


Classe \hyperlink{class_graph}{Graph} \par
 Elle permet la creation de graphcut.  




{\ttfamily \#include $<$graph.h$>$}

\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bfseries arc\_\-st}
\item 
struct {\bfseries node\_\-st}
\item 
struct {\bfseries nodeptr\_\-st}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries termtype} \{ {\bfseries SOURCE} =  0, 
{\bfseries SINK} =  1
 \}
\item 
\hypertarget{class_graph_aa481017a6c4733eb859f0042dc5b7a78}{
typedef double {\bfseries captype}}
\label{class_graph_aa481017a6c4733eb859f0042dc5b7a78}

\item 
\hypertarget{class_graph_a874d84c07a6fe2158edf55a93071d8fb}{
typedef double {\bfseries flowtype}}
\label{class_graph_a874d84c07a6fe2158edf55a93071d8fb}

\item 
\hypertarget{class_graph_ac130d50593c9ef3395cba5549d076114}{
typedef void $\ast$ {\bfseries node\_\-id}}
\label{class_graph_ac130d50593c9ef3395cba5549d076114}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_graph_aca61fa926a68c884d2cfe31fb8867f71}{
{\bfseries Graph} (void($\ast$err\_\-function)(char $\ast$)=NULL)}
\label{class_graph_aca61fa926a68c884d2cfe31fb8867f71}

\item 
\hypertarget{class_graph_a6f59dcf3ce2985ff9419ed634d73c6dc}{
node\_\-id {\bfseries add\_\-node} ()}
\label{class_graph_a6f59dcf3ce2985ff9419ed634d73c6dc}

\item 
\hypertarget{class_graph_a881f218cffdc446d63bbad684d355de2}{
void {\bfseries add\_\-edge} (node\_\-id from, node\_\-id to, captype cap, captype rev\_\-cap)}
\label{class_graph_a881f218cffdc446d63bbad684d355de2}

\item 
\hypertarget{class_graph_a1d50edd6670c062e32559f683558a79b}{
void {\bfseries set\_\-tweights} (node\_\-id i, captype cap\_\-source, captype cap\_\-sink)}
\label{class_graph_a1d50edd6670c062e32559f683558a79b}

\item 
\hypertarget{class_graph_af072dc70ebca35b4e7d6d3e0ff61f331}{
void {\bfseries add\_\-tweights} (node\_\-id i, captype cap\_\-source, captype cap\_\-sink)}
\label{class_graph_af072dc70ebca35b4e7d6d3e0ff61f331}

\item 
\hypertarget{class_graph_a2ff8a201be67121b6dee1ea0858cee53}{
termtype {\bfseries what\_\-segment} (node\_\-id i)}
\label{class_graph_a2ff8a201be67121b6dee1ea0858cee53}

\item 
\hypertarget{class_graph_ac3d1e0f744c617bce1a2f66697fa81d6}{
flowtype {\bfseries maxflow} ()}
\label{class_graph_ac3d1e0f744c617bce1a2f66697fa81d6}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Classe \hyperlink{class_graph}{Graph} \par
 Elle permet la creation de graphcut. 

\begin{DoxyAuthor}{Author}
Vladimir Kolmogorov 
\end{DoxyAuthor}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
graph.h\item 
graph.cpp\item 
maxflow.cpp\end{DoxyCompactItemize}
